<%@ include file="header.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="gen_validatorv4.js" type="text/javascript"></script>
<title>Delete Movie</title>
</head>
<body>
<div><b> Delete Movie </b></div><br>

<form id="form1" method="post" action="DeleteMovie">
	<div class="form-row"><span class="label">Movie ID to delete: </span><input type="text" name="id"/></div>
	<div class="form-row"><input class ="submit" type="submit" value="Submit"/></div>
</form>

<script  type="text/javascript">
	 var frmvalidator = new Validator("form1");

	 frmvalidator.addValidation("id","req", "Please enter in a movie ID.");
	 frmvalidator.addValidation("id","numeric", "Movie ID must be numeric");
</script>

</body>
</html>